package com.zhwl.manage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhwl.common.annotation.Excel;
import com.zhwl.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 增值税分类对象 rate_tree_categories
 *
 * @author mobin
 * @date 2025-07-22
 */
@TableName(resultMap = "com.zhwl.manage.mapper.RateTreeCategoriesMapper.RateTreeCategoriesResult")
public class RateTreeCategories extends TreeEntity
        {
private static final long serialVersionUID = 1L;

    /** 分类ID，唯一标识 */
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 分类名称 */
            @Excel(name = "分类名称")
    private String name;

    /** 消费税率 */
            @Excel(name = "消费税率")
    private String consumptionRate;

    /** 消费税计算公式（文字描述） */
            @Excel(name = "消费税计算公式", readConverterExp = "文=字描述")
    private String consumptionCumpte;

    /** 消费税计算公式（变量表达式） */
            @Excel(name = "消费税计算公式", readConverterExp = "变=量表达式")
    private String consumptionDataType;

    /** 增值税率 */
            @Excel(name = "增值税率")
    private String valueAddedRate;

    /** 增值税计算公式（文字描述） */
            @Excel(name = "增值税计算公式", readConverterExp = "文=字描述")
    private String valueAddedCumpte;

    /** 增值税计算公式（变量表达式） */
            @Excel(name = "增值税计算公式", readConverterExp = "变=量表达式")
    private String valueAddedDatatype;

    public void setId(Long id)
            {
            this.id = id;
            }

    public Long getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setConsumptionRate(String consumptionRate)
            {
            this.consumptionRate = consumptionRate;
            }

    public String getConsumptionRate()
            {
            return consumptionRate;
            }
    public void setConsumptionCumpte(String consumptionCumpte)
            {
            this.consumptionCumpte = consumptionCumpte;
            }

    public String getConsumptionCumpte()
            {
            return consumptionCumpte;
            }
    public void setConsumptionDataType(String consumptionDataType)
            {
            this.consumptionDataType = consumptionDataType;
            }

    public String getConsumptionDataType()
            {
            return consumptionDataType;
            }
    public void setValueAddedRate(String valueAddedRate)
            {
            this.valueAddedRate = valueAddedRate;
            }

    public String getValueAddedRate()
            {
            return valueAddedRate;
            }
    public void setValueAddedCumpte(String valueAddedCumpte)
            {
            this.valueAddedCumpte = valueAddedCumpte;
            }

    public String getValueAddedCumpte()
            {
            return valueAddedCumpte;
            }
    public void setValueAddedDatatype(String valueAddedDatatype)
            {
            this.valueAddedDatatype = valueAddedDatatype;
            }

    public String getValueAddedDatatype()
            {
            return valueAddedDatatype;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("parentId", getParentId())
            .append("consumptionRate", getConsumptionRate())
            .append("consumptionCumpte", getConsumptionCumpte())
            .append("consumptionDataType", getConsumptionDataType())
            .append("valueAddedRate", getValueAddedRate())
            .append("valueAddedCumpte", getValueAddedCumpte())
            .append("valueAddedDatatype", getValueAddedDatatype())
        .toString();
        }
        }
